package com.zjw.contorller;

import com.zjw.domain.vo.ResponseResult;
import com.zjw.service.GroupMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/groupMessage")
public class GroupMessageController {

    @Autowired
    private GroupMessageService groupMessageService;

    @GetMapping("/getAll")
    public ResponseResult getAllGroupMessage(){
        return groupMessageService.getAll();
    }

}
